home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
DHA demo
/
Don Norman Folder
/
The Library
/
The Library.rsrc
/
CSTR_26182_MoveGaugeCSTR
< prev
next >
Wrap
Text File
|
1994-09-21
|
770b
|
25 lines
global PgCt,Bname,tct
if there is a fld "pageno" then put fld "pageNo" into op
else put 1 into op
put number of cds in bg "details" into PgCt
put PgCt/340 into R
put (clickh()-left of window "gauge") into aC
put round (aC*R) into pN
if pN<1 then put 1 into pN
if pN>PgCt then put PgCt into pN
if there is a fld "pageno" then put pN into fld "pageno"
set scroll of window gauge to 340-aC&",0"
repeat until mouse()="up"
put mouseh()-left of window "gauge" into aC
put round (aC*R) into pN
if pN<1 then put 1 into pN
if pN>PgCt then put PgCt into pN
set scroll of window gauge to 340-aC&",0"
if there is a fld "pageno" then put pN into fld "pageno"
end repeat
LS
LM true
cbusy
addtort tStr("LibMsg",20)&& op
go cd pN of bg "details" of stack Bname
send opencard to this cd